package com.briup.day11;

public class Test_Interface {
    public static void main(String[] args) {
        IAction01 as=new IActionImp();
        System.out.println(IAction.num);
        System.out.println(as.num);
        as.start();
        as.end();
    }
}
interface IAction01{
    int num=10;
    void start();
    public abstract void end();
}
class IActionImp implements IAction01{
    @Override
    public void start() {
        System.out.println("start");
    }
    @Override
    public void end() {
        System.out.println("end");
    }
}
